<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>


	 <t:datagrid name="dictGroupList" checkbox="false" fitColumns="true" title="项目信息" actionUrl="dictTeachItemController.do?datagrid&lessonId=${lessonId }" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="项目编号"  field="itemNo"   query="true" queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="项目名称"  field="itemName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <%-- <t:dgCol title="实验目的"  field="itemDesc"   query="false" queryMode="single"  width="120"></t:dgCol> --%>   
   <%-- <t:dgCol title="实验要求"  field="testRequire"  hidden="false"  queryMode="single"  width="80"></t:dgCol> --%>
   <%-- <t:dgCol title="计划学时"  field="planHour"  hidden="false"  queryMode="single"  width="80"></t:dgCol>
   <t:dgCol title="计划组数"  field="groupCount"  hidden="false"  queryMode="single"  width="85"></t:dgCol>
   <t:dgCol title="每组人数"  field="averageCount"  hidden="false"  queryMode="single"  width="80"></t:dgCol> --%>
   <%-- <t:dgCol title="适用专业"  field="applyMajor"  hidden="false"  queryMode="single"  width="120"></t:dgCol> --%>
   <t:dgCol title="操作" field="opt" width="110"></t:dgCol>   
   <t:dgFunOpt  funname="editItemDetail({'编辑'},{'dictTeachItemController.do?goUpdate'},id,{'500'},{'480'})" title="编辑"  />
   <t:dgFunOpt  funname="showItemDetail({'查看'},{'dictTeachItemController.do?goUpdate'},id,{'500'},{'480'})" title="查看"  />
   <t:dgDelOpt title="删除" url="dictTeachItemController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="dictTeachItemController.do?goAdd&lessonId=${lessonId}" funname="add" height="480" width="500"></t:dgToolBar>
    <%-- <t:dgToolBar title="批量删除"  icon="icon-remove" url="dictTeachItemController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar> --%>
   <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
   <t:dgToolBar title="下载模板" icon="icon-putout" funname="ExportXls"></t:dgToolBar> 
   </t:datagrid> 	 
 
 		
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
  
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'dictTeachItemController.do?upload', "dictGroupList");
}

//导出
function ExportXls() {
	JeecgExcelExport("dictTeachItemController.do?exportXlsTemplate","dictGroupList");
}

 
 </script>